package cate.game.activity.crossrank.spo;

import cate.game.activity.base.core.ActivityGlobalData;
import cate.game.activity.config.ActivityBaseCfg;
import easy.java.dev.note.NoteField;
import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

/**
 * 跨服排行活动状态数据
 */
public class CrossRankActivitySPO extends ActivityGlobalData {
    @Getter
    @Setter
    @NoteField("开启着的活动")
    private List<ActivityBaseCfg> openActivities;

    public CrossRankActivitySPO() {
        super();
    }

    @Override
    public void initialize() {
        if (openActivities == null) {
            openActivities = new ArrayList<>();
        }
    }

    @Override
    public void clear() {

    }
}
